using System;

namespace Microsoft.Windows.UserControls.Core
{
    public class CurrentPageChangedEventArgs : EventArgs
    {
        public WizardPage NewPage { get; private set; }

        public WizardPage OldPage { get; private set; }
        
        public Wizard.WizardDirectionType Direction { get; private set; }

        public CurrentPageChangedEventArgs(WizardPage oldPage, WizardPage newPage, Wizard.WizardDirectionType direction)
        {
            OldPage = oldPage;
            NewPage = newPage;
            Direction = direction;
        }
    }
}